public class TV implements TwoEletricOutlet{
    String name;
    TV(){
        name = "长江电视机";
    }
    TV(String S){
        name = S;
    }

    public void connectElectricCurrent() {
        turnOn();
    }
    public void turnOn(){
        System.out.println(name+"开始播放节目");
    }
}
